package edu.sjtu.mall.member.feign;

import edu.sjtu.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;

@FeignClient("coupon")  //写的是注册在nacos上的服务名， 我在mall-coupon里application:name写的是coupon 而不是mall-coupon
public interface CouponFeignService {
    @RequestMapping("/coupon/coupon/member/list")
    public R membercoupons();
}
